<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>软件配置</title>
    <link rel="stylesheet" href="../css/theme.css" />
    <link rel="stylesheet" href="../css/common.css" />
    <link rel="stylesheet" href="../css/config.css" />
    <link rel="stylesheet" href="../css/iconfont.css" />
    <link rel="stylesheet" href="../css/iconfont.ttf" />
    <link rel="stylesheet" href="../layui-v2.8.17/layui/css/layui.css" />
    <!-- VConsole 初始化 -->
    <script src="../lib/vconsole/vconsole.min.js"></script>
    <script src="../js/vconsole-init.js"></script>
    <script src="../layui-v2.8.17/layui/layui.js"></script>
    <script src="../lib/jquery.js"></script>
    <script src="../lib/echarts.min.js"></script>
    <script src="../lib/utils.js"></script>
    <script src="../js/common.js"></script>
  <script src="../js/widgets.js"></script>
  </head>
  <body class="config-body">
    <!-- 公共头部 -->
    <header class="common-header"></header>
    
    <!-- 页面顶部标签栏 -->
    <div class="tab-header">
      <div class="tab-item active" data-tab="ventilation">智能通风</div>
      <div class="tab-item" data-tab="aircondition">空调控温</div>
    </div>
    
    <main class="config-main">
      <!-- 智能通风选项卡内容 -->
      <div class="tab-content ventilation-content active">
        <div class="data-list">
          <div class="data-item">
            <div class="item-label">通风口开关超时设置：</div>
            <div class="item-value">
              <span class="value-text">5</span>
              <span class="value-unit">S</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">电动蝶阀开关超时设置：</div>
            <div class="item-value">
              <span class="value-text">5</span>
              <span class="value-unit">S</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">轴流窗开关超时设置：</div>
            <div class="item-value">
              <span class="value-text">5</span>
              <span class="value-unit">S</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">自然窗开关超时设置：</div>
            <div class="item-value">
              <span class="value-text">5</span>
              <span class="value-unit">S</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">环流风机开启温度设置：</div>
            <div class="item-value">
              <span class="value-text">5</span>
              <span class="value-unit">℃</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">环流风机停止温度设置：</div>
            <div class="item-value">
              <span class="value-text">5</span>
              <span class="value-unit">℃</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">自然窗开关温度设置：</div>
            <div class="item-value">
              <span class="value-text">5</span>
              <span class="value-unit">℃</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">自然窗停止温度设置：</div>
            <div class="item-value">
              <span class="value-text">5</span>
              <span class="value-unit">℃</span>
            </div>
          </div>
        </div>
      </div>
      
      <!-- 空调控温选项卡内容 -->
      <div class="tab-content aircondition-content">
        <div class="data-list">
          <div class="data-item">
            <div class="item-label">1#空调目标温度设置：</div>
            <div class="item-value">
              <span class="value-text">24</span>
              <span class="value-unit">℃</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">2#空调目标温度设置：</div>
            <div class="item-value">
              <span class="value-text">24</span>
              <span class="value-unit">℃</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">3#空调目标温度设置：</div>
            <div class="item-value">
              <span class="value-text">24</span>
              <span class="value-unit">℃</span>
            </div>
          </div>
          <div class="data-item">
            <div class="item-label">4#空调目标温度设置：</div>
            <div class="item-value">
              <span class="value-text">24</span>
              <span class="value-unit">℃</span>
            </div>
          </div>
        </div>
      </div>
    </main>
    
    <script>
      document.addEventListener('DOMContentLoaded', function() {
        // 加载保存的主题
        loadSavedTheme();
        
        // 初始化公共头部
        initCommonHeader('参数设置', true);
      });
    </script>
    <script src="../js/config.js"></script>
  </body>
</html>
